/* 
 * File:   DriverSel.cpp
 * Author: AXIOO
 *
 * Created on March 7, 2012, 3:17 PM
 */

#include <cstdlib>
#include <iostream>
#include "../Sel/Sel.h"

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {
	Point P1(1,4);
	Sel S1(P1);
	Point P2(2,6);
	Sel S2(P2,'x');
	
	cout << "S1 " << S1 << endl;
	cout << "S2 " << S2 << endl;
	
	
	cout << "assignment S1=S2" << endl;
	S1 = S2;
	cout << "S1 " << S1 << endl;
	
	cout << "cctor S3=S2" << endl;
	Sel S3 = S2;
	cout << "S3 " << S3 << endl;
	

	cout << "P2" << P2 << endl;
	cout << "setter S1.setLocation(P2)" << endl; 
	S1.setLocation(P2);
	cout << "S1 " << S1 << endl;
	S1.setContent('*');
	cout << "setter S1.setContent('*')" << endl; 
	cout << "S1 " << S1 << endl;
	
	cout << "getter" << endl;
	cout << "S1.getLocation() = " << S1.getLocation() << endl;
	cout << "S1.getContent()  = " << S1.getContent() << endl;
	
	return 0;
}

